package com.wanmait.happyheating.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2021/05/28
*/
@Data
@TableName(value = "state")
public class State implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态值:下单，已接单，维修中，返修中，等待付款，等待评价；
     */
    @TableField(value = "state_value")
    private String stateValue;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    @TableField(value = "enable")
    @TableLogic
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_STATE_VALUE = "state_value";

    public static final String COL_SORT = "sort";

    public static final String COL_ENABLE = "enable";
}